package zust.javaee.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by liy on 2017/1/4.
 */
@Controller
@RequestMapping("/testView")
public class TestViewController {

    @RequestMapping("/login")
    public String toLogin(){
        return "login";
    }

    @RequestMapping("index")
    public String getIndex(){
        return "index";
    }

}
